package com.xyoto.community.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author: 廖振辉
 * Date: 2021/11/17
 * Description: 金句vo
 */
@Data
@ApiModel("金句vo")
@NoArgsConstructor
public class ProverbVO {

    @ApiModelProperty("句子内容")
    private String sentence;

    @ApiModelProperty("作者")
    private String author;

    public ProverbVO(String sentence, String author) {
        this.sentence = sentence;
        this.author = author;
    }
}
